package com.sky.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.bean.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Content: 文件存储记录实体类
 * @Author: Asen
 * @Date: 2023/9/1 10:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("stored_record")
public class StoredRecordPO extends BasePO {
    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "上传前文件名称")
    private String beforeName;

    @ApiModelProperty(value = "绝对路径")
    private String absolutePath;

    @ApiModelProperty(value = "文件后缀")
    private String suffix;

    @ApiModelProperty(value = "文件尺寸")
    private int size;
}
